home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 12195 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.3 KB

  1. Path: ix.netcom.com!news
  2. From: fame1@ix.netcom.com (Matt Kittleson)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Put a job in background
  5. Date: Fri, 29 Mar 1996 17:18:05 GMT
  6. Organization: WildFire Software
  7. Message-ID: <4jh66e$5i7@dfw-ixnews5.ix.netcom.com>
  8. References: <4jdfaj$f0r@ustsu10.ust.hk>
  9. Reply-To: fame1@ix.netcom.com
  10. NNTP-Posting-Host: sea-wa9-18.ix.netcom.com
  11. X-NETCOM-Date: Fri Mar 29 11:21:18 AM CST 1996
  12. X-Newsreader: Forte Free Agent 1.0.82
  13.  
  14. ee_yeh@uxmail.ust.hk (Edmond Yeh) wrote:
  15.  
  16. >I am using NT 3.51 and there is a program called fax.exe which can be 
  17. >run in DOS command line : "fax -3 -1234567 abc.txt" to fax out the docunment 
  18. >in 3 trials.
  19.  
  20. >I would like to include this function in a cgi program using C++ or 
  21. >perl script so that when the user click the button , the job is send 
  22. >to background to fax out the document while he can continue to browse 
  23. >other pages document.
  24. >I have tried to simply call the system function in C++ , but the screen 
  25. >just hangs without and action. The same case in Perl.
  26.  
  27. >Is there any way to do that ?
  28. >I read from the newsgroup that I can use the _spawn function in C++ to do 
  29. >background job, can anyone explain how this is done ?
  30. >Any other way to do that using Perl ?
  31.  
  32. >Thanks a lot,
  33. >Edmond
  34.  
  35. What compiler are you using and for what platform?  If it's windows
  36. anything its no problem.  
  37.  
  38.